package com.example.health.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.health.common.Result;
import com.example.health.controller.dto.UserAddressDto;
import com.example.health.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService extends IService<User> {


    Page<User> getPage(Integer pageNum, Integer pageSize, String search);

    Result<?> add(User user);

    User selectById(Long id);
}
